//
//  AXFHomeViewController.m
//  aixinfeng005
//
//  Created by zhanghaifeng on 16/10/10.
//  Copyright © 2016年 BBSWaitting. All rights reserved.
//

#import "AXFHomeViewController.h"
#import "AXFTypeView.h"
#import "AXFTypeModel.h"
#import "AXFDaiboModel.h"
#import <YYModel.h>
#import "AXFDaiboView.h"


@interface AXFHomeViewController ()

@end

@implementation AXFHomeViewController

- (void)viewDidLoad {
//    [super viewDidLoad];
//    self.view.backgroundColor = [UIColor whiteColor];
//    
//    AXFTypeView *typeView = [[AXFTypeView alloc] initWithFrame:CGRectMake(0, 160, self.view.bounds.size.width, 90)];
//    typeView.typeData = [self loadTypeData];
//    
//    [self.view addSubview:typeView];
//
//    AXFDaiboView *daiboHCView = [[AXFDaiboView alloc] initWithFrame:CGRectMake(0, 100, self.view.bounds.size.width, 120)];
//    
//    daiboHCView.daiboHomeData = [self loadDaiboCollectionViewData];
//    
//    [self.view addSubview:daiboHCView];
    
    self.navigationController.navigationBar.hidden = YES;
}

- (NSArray *)loadTypeData{
    
   
    return nil;
}

- (NSArray *)loadDaiboCollectionViewData
{
    NSArray *dictArr = [NSArray arrayWithContentsOfURL:[[NSBundle mainBundle] URLForResource:@"daiboHome.plist" withExtension:nil]];
    
    NSArray *daiboM = [NSArray yy_modelArrayWithClass:[AXFDaiboModel class] json:dictArr];
    
    return daiboM.copy;
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
   
}




@end
